package com.xingkeduo.pojo.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import lombok.Getter;

/**
 * @author chi  2019-02-18 15:30
 **/
@Getter
public enum OrderSource {
    BRANCH(0,"微信扫码"),//
    WECHAT(1,"微信小程序"),//
    ALIPAY(2,"支付宝生活号"),//
    SUI_XING_FU(3,"随星付"),//
    PAY_FOR_ANOTHER(4,"发型师代付"),
    ALIPAY_SCAN(5,"支付宝扫码"),
    WECHAT_H5(6,"微信H5");

    @EnumValue
    private int key;

    private String name;

    OrderSource(int key, String name) {
        this.key = key;
        this.name = name;
    }
}
